﻿<template>
    <div class="header_other">
      <div class="wrap_header_other clearfix">
          <img src="../../../../static/img/new_style_go_back.png" class="btn" v-on:click="btn_cc" v-show="go_back_show"/>

          <div class="wrap_search_inner">
            <input class="search_inner"/>
          </div>

        <div class="add_sup" v-show="add_show" v-on:click="add_qxt_1">+</div>
        <div class="get_msg" v-show="false">求学</div>
        <div class="get_msg" v-show="add_share_data" v-on:click="add_share">
          分享故事
        </div>
      </div>
    </div>
</template>
<style  lang="scss">
  @import "./qxt_header.scss";
</style>
<script>
  import {mapState, mapMutations, mapActions} from 'vuex';
  import store from '../../../vuex/store_index';
  import common from "../../../common/common.js";
  import Vue from "vue";
  import goto from "../../../common/goto/goto.js"
  Vue.use(goto);
  export default {
    name: 'Header_other',
    data () {
      return {
        go_back_show:true,
      }
    },
    props :{"go_back_flag":{ required: true},"add_show":{default:false},"add_share_data":{add_share_data:false}},
    methods: {
      add_qxt_1:function () {
        this.$emit("edit_goback")
      },
      add_share:function () {
        this.$emit("add_share_c")
      }
    },
    mounted(){
    }

  }
</script>
<!--inner style for thom template-->

